FROM java:8

COPY eureka.jar /app01.jar
COPY service.jar /app02.jar

CMD ["--server.port=8080"]

EXPOSE 8080

ENTRYPOINT ["java","-jar","app01.jar"]
ENTRYPOINT ["java","-jar","app02.jar"]